package com.yunxi.model.vehicle;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 合格证信息
 * </p>
 *
 * @author caoyong
 * @since 2019-05-22
 */
@Data
@TableName("pms_vehicle_cert")
@ApiModel(value = "VehicleCert对象", description = "合格证信息")
public class VehicleCert implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "VEHICLE_CERT_ID", type = IdType.UUID)
    private String vehicleCertId;

    @ApiModelProperty(value = "certCoverNo")
    private String certCoverNo;

    @ApiModelProperty(value = "vin码")
    @TableField("vin")
    private String vin;

    @ApiModelProperty(value = "合格证")
    @TableField("CERT_NO")
    private String certNo;

    @ApiModelProperty(value = "合格证达到日期")
    @TableField("CERT_ARRIVE_DATE")
    private Date certArriveDate;

    @ApiModelProperty(value = "合格证打印日期")
    @TableField("CERT_PRINT_DATE")
    private Date certPrintDate;

    @ApiModelProperty(value = "15位码")
    private String vehicleCode;

    @ApiModelProperty(value = "简介")
    @TableField("INFO")
    private String info;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "合格证状态(Vehicle_CertStatus,1合格证随车,2财务审核,3待发运,4已发运)")
    @TableField("CERT_STATUS")
    private Integer certStatus;

    @ApiModelProperty(value = "发运日期")
    @TableField("TRANSPORT_DATE")
    private Date transportDate;

    @ApiModelProperty(value = "渠道商融资机构关系主键")
    @TableField("RELATION_ID")
    private String relationId;

}
